<!DOCTYPE html>
<html>
<head>
<?php echo $this->GetElement('title-description'); ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="<?php echo IMG; ?>favicon.ico" />
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="<?php echo CSS; ?>bootstrap.min.css" media="screen">
<link rel="stylesheet" type="text/css" href="<?php echo CSS; ?>bootstrap-responsive.css" media="screen">
<link rel="stylesheet" type="text/css" href="<?php echo CSSC ?>default.css" />
<script src="<?php echo JS; ?>jquery.min.js"></script>
<script type="text/javascript">
	function validate(){
		var help = true;
		if($('.txt-email').val() == ""){
			help = false;
			$('.txt-email').focus();
		}else if($('.txt-password').val() == ""){
			help = false;
			$('.txt-password').focus();
		}else help = true;
		if(help){
			tmp = $(".txt-email").val();
			if(typeof(tmp) != 'undefined'){
				//var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
				var emailReg = /^([a-zA-Z0-9_\.\-]+\@([a-zA-Z0-9\-]+\.)+[a-zA-Z0-9]{2,4})?$/;
				var emailaddressVal = $(".txt-email").val();
				if(!emailReg.test(emailaddressVal)) {
					$('.txt-email').addClass('box-required');
					alert('Invalid Email Address');
					$('.txt-email').focus().select();		
					help = false;
				}else{
					$(this).removeClass('box-required');	
				}
			}
		}	
		if(help) return true;
		else return false;
	}
</script>
</head>
<body>
    <div class="container">
    	<div class="row">
    		<div class="span4 offset4">
        		<?php eval("?>" . $this->GetContent());?>
        	</div>
        </div>
    </div>         
</body>
</html>